import axios from '@/libs/api.request'
// 查询一张表默认数据列表接口
export const findDefaultTableList = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/findDefaultTableList',
    data: data,
    method: 'post'

  })
}
// 查询部门分类
export const findDepartmentList = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/findDepartmentList',
    data: data,
    method: 'post'

  })
}
// 创建方案
export const createSelectProgramme = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/createSelectProgramme',
    data: data,
    method: 'post'

  })
}
// 已创建方案列表
export const findProgrammeInfoList = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/findProgrammeInfoList',
    data: data,
    method: 'post'

  })
}
// 根据方案列表查详情
export const getProgrammeInfo = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/getProgrammeInfo',
    data: data,
    method: 'post'
  })
}

// 创建导出请求
export const createSelectQueue = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/createSelectQueue',
    data: data,
    method: 'post'
  })
}
// 查询导出队列
export const findSelectQueueList = (data) => {
  return axios.request({
    url: '/api/ac/grid/tableService/findSelectQueueList',
    data: data,
    method: 'post'
  })
}
// 区域街道社区修改
export const updatejiedaoqu = (data) => {
  return axios.request({
    url: 'api/us/csc/auditelectronicareacode/updatejiedaoqu',
    data: data,
    method: 'post'
  })
}
// 区域街道社区删除
export const deletequjiedao = (data) => {
  return axios.request({
    url: 'api/us/csc/auditelectronicareacode/deletequjiedao',
    data: data,
    method: 'post'
  })
}
// 区域街道社区添加
export const insertjiedaoqu = (data) => {
  return axios.request({
    url: 'api/us/csc/auditelectronicareacode/insertjiedaoqu',
    data: data,
    method: 'post'
  })
}
// 区域街道社区先查询再决定添加还是修改
export const creatqujie = (data) => {
  return axios.request({
    url: 'api/us/csc/auditelectronicareacode/creatqujie',
    data: data,
    method: 'post'
  })
}
export const getUpCompanyCode = (data) => {
  return axios.request({
    url: '/api/as/csc/hatstate/getUpCompanyCode',
    data: data,
    method: 'post'
  })
}
export const findDefaultColumnsList = (data) => { // 查询列表默认表头
  return axios.request({
    url: '/api/ac/grid/tableService/findDefaultColumnsList',
    data: data,
    method: 'post'
  })
}
export const findDefaultHeaderList = (data) => { // 查询列表默认表头用于设置
  return axios.request({
    url: '/api/ac/grid/tableService/findDefaultHeaderList',
    data: data,
    method: 'post'
  })
}
export const updateDefaultType = (data) => { // 查询列表默认表头用于设置
  return axios.request({
    url: '/api/ac/grid/tableService/updateDefaultType',
    data: data,
    method: 'post'
  })
}
